package com.mydistibute.distibutelearn.threadcreateway;

/**
 * @author victorydeng
 * @Classname CreateWay1
 * @Description TODO
 * @Date 2020/5/26 10:47
 * @Created by victorydeng
 */
public class CreateWay1 extends Thread{

    @Override
    public void run() {
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("hello thread");
    }

    public static void main(String[] args) {
        CreateWay1 t1 = new CreateWay1();
        t1.start();
    }
}
